How can I create a custom function in Python for plotting with different variables

visit shbcf.ru